div {
  width: 100px;
  height: 100px;
  border: 1px solid #ccc;
}
.common {
  font-size: 30px;
  text-decoration: underline;
}
.d1 {
  color: red;
  background: pink;
  font-size: 20px;
}
.d2 {
  color: blue;
  background: yellow;
  font-size: 30px;
}
.d3 {
  background: #ccc;
  font-size: 15px;
}
.d4 {
  font-size: 20px;
  color: red;
}
.d5 {
  font-size: 30px;
  color: red;
}
